package io;

import java.io.*;

public class PWDemo {
    public static void main(String[] args) throws IOException {
        FileOutputStream fos=new FileOutputStream("pw.txt");
        OutputStreamWriter osw=new OutputStreamWriter(fos);
        BufferedWriter bw=new BufferedWriter(osw);
        bw.write("asjsjsjsjs");
        bw.write("就是就是就是就是就");
        System.out.println("写出完毕");
        bw.close();
    }
}
